/* 语音播放高亮样式 */
.voice-playing {
  background-color: rgba(33, 150, 243, 0.15);
  border-left: 3px solid #2196F3;
  padding-left: 8px;
  border-radius: 3px;
  transition: all 0.3s ease;
  animation: voice-highlight-pulse 2s infinite;
}

/* 脉冲动画效果 */
@keyframes voice-highlight-pulse {
  0% { background-color: rgba(41, 112, 255, 0.05); }
  50% { background-color: rgba(41, 112, 255, 0.15); }
  100% { background-color: rgba(41, 112, 255, 0.05); }
}

/* 段落级别高亮 */
.voice-highlight-paragraph {
  border-left: 3px solid #2970ff;
  padding-left: 10px;
  background-color: rgba(41, 112, 255, 0.08);
  border-radius: 4px;
}

/* 句子级别高亮 */
.voice-highlight-sentence {
  background-color: rgba(41, 112, 255, 0.15);
  border-radius: 3px;
  padding: 0 2px;
  position: relative;
}

/* 单词级别高亮 */
.voice-highlight-word {
  font-weight: 500;
  color: #2970ff;
}

/* 边框高亮效果 */
.voice-highlight-border {
  border: 2px solid rgba(41, 112, 255, 0.5);
  border-radius: 5px;
  padding: 2px 5px;
}